﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TN_CMS.Core.Entities;

namespace TN_CMS.Core.Concrete
{
    public class EFDbContext : DbContext
    {
        public DbSet<SysAdmin> SysAdmins { get; set; }
        public DbSet<Product> Products { get; set; }


        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            //modelBuilder.Entity<Sys_Admin>().ToTable("Sys_Admins");
        } 
    }
}
